{"text_format":"1","workbook":"xlsx","n_sheets":7,"sheets":["Scope","Inputs (Individual)","Inputs (Bulk)","Assumptions","Calculations","HMRC_repayment_calcs","Outputs"],"not_rendered":{"charts":0,"images":0,"macros":1,"external_links":0,"defined_names":18,"comments":0,"pivot_tables":1},"unopened":[],"bounds":{"document_bytes":16777216,"sheet_cells":100000,"rows_first":2000,"rows_last":500,"rows_between":2000,"halvings":4,"cell_chars":16384,"cell_head_chars":4096},"cells_cut":0,"cells_raw":0,"read":"whole","date_system":"1900"}

{"sheet":"Scope","index":0,"n_rows":21,"n_cols":2,"rows_kept":21,"cut":false,"hidden":false,"merged":[[20,1,21,1]]}
["Government Actuary's Department"]
["Workbook:","McCloud Interest calculator - with macro"]
["Worksheet:",{"$f":"MID(CELL(\"filename\",A1),FIND(\"]\",CELL(\"filename\",A1))+1,255)","v":"Scope"}]
["File name",{"$f":"CELL(\"filename\",A1)","v":"C:\\Users\\Rachel.Abbey\\Downloads\\[LGPS McCloud interest calculator - with macro v3.0.xlsm]Scope"}]
[]
[]
[null,"Please select calculation type:"]
[null,"Bulk"]
[]
[null,"Purpose"]
[null,"The purpose of this calculator is to calculate the interest that should apply to payments arising from applying the McCloud remedy. This calculator should not be shared with or be relied upon by parties other than the intended user."]
[]
[null,"Instructions"]
[null,"See user guide for full instructions and example inputs"]
[null,"Select whether you would like to enter bulk or individual data in the box above on this sheet. If entering bulk data, go to Inputs (Bulk), and if entering individual data, go to Inputs (Individual). Instructions about how to populate the fields can be found in the user guide and on the input sheets."]
[null,"Once you have finished the data input stage, go to the outputs sheet to view the results"]
[]
[null,"Scope"]
[null,"This calculator is based on GAD’s interpretation of the relevant legislation covering interest applying to McCloud Remedy payments for the LGPS schemes. Users should ensure that they are aware of the requirements made under prevailing legislation, including any amendments made in the future."]
[null,"Tax is not considered in this calculator. This should be considered by the user."]
[null,"This calculator should only be used for the following situations:\na.\tRetirement recalculations: final underpin date before 1 October 2023\nb.\tTrivial commutation top-up payments (including small pot payments and trivial commutation lump sum death benefits): original calculation date before 1 October 2023\nc.\tTransfer top-up payments: original calculation date before 1 October 2023 (excluding bulk transfer payments and Club transfer payments to McCloud remedy schemes)\nd.\tTop-up death grants: member died before 1 October 2023\ne.\tSurvivor pension recalculations: survivor pension in payment before 2 October 2023\nf.\tPension credits: PSO effective date between 1 April 2014 and 30 September 2023 (inclusive) and the LGPS pension credit was in payment on 1 October 2023.\ng.\tPart 4 tax losses: tax loss arising as a result of McCloud remedy"]

{"sheet":"Inputs (Individual)","index":1,"n_rows":25,"n_cols":3,"rows_kept":25,"cut":false,"hidden":false,"merged":[[24,0,24,3],[6,1,6,3],[13,1,13,3],[14,1,14,3],[15,1,15,3],[17,1,17,3],[16,1,16,3],[18,1,18,3],[20,1,20,3],[19,1,19,3]]}
["Government Actuary's Department"]
["Workbook:",{"$f":"IFERROR(IF(wb_title=\"[Enter workbook title here]\",MID(CELL(\"filename\",A1),FIND(\"[\",CELL(\"filename\",A1))+1,FIND(\"]\",CELL(\"filename\",A1))-FIND(\"[\",CELL(\"filename\",A1))-1),wb_title),MID(CELL(\"filename\",A1),FIND(\"[\",CELL(\"filename\",A1))+1,FIND(\"]\",CELL(\"filename\",A1))-FIND(\"[\",CELL(\"filename\",A1))-1))","v":"McCloud Interest calculator - with macro"}]
["Worksheet:",{"$f":"MID(CELL(\"filename\",A1),FIND(\"]\",CELL(\"filename\",A1))+1,255)","v":"Inputs (Individual)"}]
["Location:",{"$f":"CELL(\"filename\",B1)","v":"C:\\Users\\Rachel.Abbey\\Downloads\\[LGPS McCloud interest calculator - with macro v3.0.xlsm]Inputs (Individual)"}]
[]
["Effective date",null,"This the date the interest will be calculated up to"]
["Payment type"]
["Lump sum payment date",null,"All payment types except part 4 tax losses: If the Payment type is a lump sum, this is the date from which interest will be applied; see cells F19:F24 of the assumptions tab for more information."]
["Earliest payment date",null,"All payment types except part 4 tax losses: If the Payment type is a form of pension, this is the start date for the calculation of the mid-point date; see cells G19:G24 of the assumptions tab for more information."]
["Payment amount",null,"Enter the total payment amount. This calculator determines the amount of interest applying to remedy payments owed to the member. These amounts should be input as a positive number."]
["Tax year for part 4 tax losses ",null,"Part 4 tax losses only: this should be the tax year to which the tax loss relates; see cells H19:H24 of the assumptions tab for more information."]
["Part 4 tax loss interest start date override",null,"Part 4 tax losses only: If this is not populated, the interest start date for part 4 tax losses will be 31 January of the tax year following the tax year of the payment; see cells H19:H24 of the assumptions tab for more information"]
[]
["Payment date consistency check",{"$f":"IF(Payment_type_individual <> \"Part 4 tax losses\",\n IF(AND(NOT(ISBLANK(Lump_sum_payment_date_individual)), NOT(ISBLANK(Earliest_payment_date_individual))),\n  \"Do not enter both a lump sum date and an earliest payment date\",\n  IF(AND(ISBLANK(Earliest_payment_date_individual), ISBLANK(Lump_sum_payment_date_individual)),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\")), \"PASS\")","v":"Please enter either an earliest payment date or lump sum date"}]
["Lump sum check",{"$f":"IF(Payment_type_individual <> \"Part 4 tax losses\",\n IF(ISBLANK(Payment_type_individual), \"Payment type cannot be left blank\",\n    IF(EXACT(\"Continuous\",\n             INDEX(Method_lookup_table[Acceptable input type],\n                   MATCH(Payment_type_individual, Method_lookup_table[Payment type], 0))),\n        IF(ISBLANK(Lump_sum_payment_date_individual),\n          \"PASS\",\n          \"This type of payment doe not accept lump sum payments, please remove lump sum payment date\"),\n        IF(ISBLANK(Lump_sum_payment_date_individual), \"Please enter a lump sum date\",\n            IF(Payment_amount_individual <> 0, \"PASS\", \"Payment amount must not be zero\")\n        )\n    )\n),\n\"PASS\")","v":"Payment type cannot be left blank"}]
["Effective date check ",{"$f":"IF(Effective_date_individual<>0, \"PASS\", \"Please enter the effective date\")","v":"Please enter the effective date"}]
["Payment amount check",{"$f":"IF(Payment_amount_individual > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\")","v":"Please ensure the Payment amount is greater than 0"}]
["Payment type check",{"$f":"IF(COUNTIF(Method_lookup_table[Payment type],Payment_type_individual)>0,\n               \"PASS\",\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")","v":"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab"}]
["Part 4 tax loss tax year check",{"$f":"IF(Tax_year_part_4_individual=\"\",\"PASS\",\n  IF(ISNUMBER(Tax_year_part_4_individual),\n    IF(AND(Tax_year_part_4_individual>=2008,Tax_year_part_4_individual<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\"))","v":"PASS"}]
["Part 4 tax loss override date check",{"$f":"IF(Tax_loss_start_date_override_individual=\"\",\"PASS\",\n  IF(ISNUMBER(Tax_loss_start_date_override_individual),\n    IF(AND(Tax_loss_start_date_override_individual>=DATE(2009,9,29),Tax_loss_start_date_override_individual<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\"))","v":"PASS"}]
["Part 4 tax loss input check",{"$f":"IF(AND(Payment_type_individual=\"Part 4 tax losses\", Tax_year_part_4_individual=\"\", Tax_loss_start_date_override_individual=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\")","v":"PASS"}]
["Error count",{"$f":"COUNTA(B14:D21)-(COUNTIF(B14:D21, \"PASS\")+COUNTIF(B14:D21, \"N/A\"))","v":5}]
[]
[]
[{"$f":"IF(Calc_type<>\"Individual\",\"To use this input sheet, change the calculation type on the Scope sheet to 'Individual'\",\"\")","v":"To use this input sheet, change the calculation type on the Scope sheet to 'Individual'"}]

{"sheet":"Inputs (Bulk)","index":2,"n_rows":524,"n_cols":18,"rows_kept":281,"cut":true,"hidden":false,"merged":[],"bounds":{"rows_first":125,"rows_last":31,"rows_between":125,"halvings":4}}
["Government Actuary's Department"]
["Workbook:",{"$f":"IFERROR(IF(wb_title=\"[Enter workbook title here]\",MID(CELL(\"filename\",A1),FIND(\"[\",CELL(\"filename\",A1))+1,FIND(\"]\",CELL(\"filename\",A1))-FIND(\"[\",CELL(\"filename\",A1))-1),wb_title),MID(CELL(\"filename\",A1),FIND(\"[\",CELL(\"filename\",A1))+1,FIND(\"]\",CELL(\"filename\",A1))-FIND(\"[\",CELL(\"filename\",A1))-1))","v":"McCloud Interest calculator - with macro"}]
["Worksheet:",{"$f":"MID(CELL(\"filename\",A1),FIND(\"]\",CELL(\"filename\",A1))+1,255)","v":"Inputs (Bulk)"}]
["Location:",{"$f":"CELL(\"filename\",B1)","v":"C:\\Users\\Rachel.Abbey\\Downloads\\[LGPS McCloud interest calculator - with macro v3.0.xlsm]Inputs (Bulk)"}]
[]
[null,"Instructions for bulk data entry"]
[null,"Fill in the Member ID column with a unique identifier for each member you are entering."]
[null,"Where a member has different payment types, each payment type should be input on a new row with a different member ID. "]
[null,"The Global ID is an optional field that can be used to identify a member a group of members. This field does not impact the calculations"]
[null,"Enter the Effective date. This is the date the interest will be calculated up to"]
[null,"Select the Payment type from the drop down list."]
[null,"If the Payment type is a lump sum, enter a Lump sum payment date;  see cells F19:F24 of the assumptions tab for more information."]
[null,"If the Payment type is a form of pension, enter the Earliest payment date; see column G19:G24 of the assumptions tab for more information."]
[null,"If the Payment type is part 4 tax losses, enter either the tax year for part 4 tax losses or the override date. See cells H19:H24 of the assumptions tab for more information."]
[null,"If the Part 4 tax loss interest start date override is not populated, the interest start date for part 4 tax losses will be 31 January of the tax year following the tax year of the payment."]
[null,"Enter the total Payment amount. This calculator determines the amount of interest applying to remedy payments owed to the member. "]
[null,"These amounts should be input as a positive number."]
[null,"Once you have finished entering data, go to the checks starting at column J to see if there are any issues with the data."]
[null,"Cell R23 contains an error count for all data. If any row has an error for a particular member, "]
[null,"an output will not be returned for this member in the output sheet until the error is fixed."]
[null,"You can filter the Error count column to find all rows with failed checks."]
[null,{"$f":"IF(AND(Calc_type=\"Bulk\",COUNTA(data_final_bulk[Member ID])>5000),\"Input data contains more than 5000 rows, rows beyond 5000 will not be included in the calculations. Please split the data or contact GAD for an extended version of the tool.\",\"\")","v":""}]
[null,{"$f":"IF(AND(Calc_type=\"Bulk\", R23>0), \"The input data contains errors. Please review the checks in column J onwards before proceeding to the outputs page.\", \"\")","v":""},null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Total error count:",{"$f":"SUM(data_final_bulk[Error count])","v":0}]
["Member ID","Global ID","Effective date","Payment type","Lump Sum payment date","Earliest payment date","Payment amount","Part 4 tax loss interest start date override","Tax year for part 4 tax losses ","Payment date consistency check","Lump sum check","Payment amount check","Payment type and member ID check","Effective date check ","Part 4 tax loss tax year check","Part 4 tax loss override date check","Part 4 tax loss input check","Error count"]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]
[null,null,null,null,null,null,null,null,null,{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(AND(NOT(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]])), NOT(ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]]))),\n         \"Do not enter both a lump sum date and an earliest payment date\",\n         IF(AND(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), ISBLANK(data_final_bulk[[#This Row],[Earliest payment date]])),\n            \"Please enter either an earliest payment date or lump sum date\", \"PASS\"))), \"PASS\")","v":""},{"$f":"IF(data_final_bulk[[#This Row],[Payment type]] <> \"Part 4 tax losses\",\n IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n     IF(ISBLANK(data_final_bulk[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n         IF(EXACT(\"Continuous\",\n                 INDEX(Method_lookup_table[Acceptable input type],\n                       MATCH(data_final_bulk[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))\n                ),\n           IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]),\n          \"PASS\",\n          \"This type of payment does not accept lump sum payments, please remove lump sum payment date\"),\n            IF(ISBLANK(data_final_bulk[[#This Row],[Lump Sum payment date]]), \"Please enter a lump sum date\",\n\n                    IF(data_final_bulk[[#This Row],[Payment amount]] <> 0, \"PASS\", \"Payment amount must not be zero\")\n                )\n            )\n        )\n\n), \"PASS\")","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",IF(data_final_bulk[[#This Row],[Payment amount]] > 0, \"PASS\", \"Please ensure the Payment amount is greater than 0\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]),\n   \"\",\n   IF(COUNTIF(Method_lookup_table[Payment type],data_final_bulk[[#This Row],[Payment type]])>0,\n      IF((COUNTIFS(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]], data_final_bulk[Payment type], data_final_bulk[[#This Row],[Payment type]]) - COUNTIF(data_final_bulk[Member ID], data_final_bulk[[#This Row],[Member ID]]))<0,\n         \"Please enter a different member ID for different payment types\",\n         \"PASS\"),\n   \"Please ensure the Payment type is on the list of allowed types, on the Assumptions tab\")\n   )","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", IF(ISBLANK(data_final_bulk[[#This Row],[Effective date]]), \"Please fill in the effective date\",\n\"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]),\n    IF(AND(data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]>=2008,data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]<=IF(TODAY()<DATE(YEAR(TODAY()),4,6),YEAR(TODAY())-1,YEAR(TODAY()))),\n      \"PASS\",\n      \"Please enter a year from 2008 to the current tax year\"),\n    \"Please enter a valid year\")))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\",\"PASS\",\n  IF(ISNUMBER(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]),\n    IF(AND(data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]>=DATE(2009,9,29),data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]<=TODAY()),\n      \"PASS\",\n      \"Please enter a date from 29/09/2009 to today\"),\n    \"Please enter a valid override date\")))","v":""},{"$f":" IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\",\n  IF(AND(data_final_bulk[[#This Row],[Payment type]]=\"Part 4 tax losses\",data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]]=\"\",data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]]=\"\"),\n  \"Please enter either a year or interest start date to proceed\",\n  \"PASS\"))","v":""},{"$f":"IF(ISBLANK(data_final_bulk[[#This Row],[Member ID]]), \"\", COUNTA(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]])-((COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"*Pass*\")+COUNTIF(data_final_bulk[[#This Row],[Payment date consistency check]:[Part 4 tax loss input check]],\"N/A\"))))","v":""}]

{"sheet":"Assumptions","index":3,"n_rows":82,"n_cols":8,"rows_kept":82,"cut":false,"hidden":false,"merged":[[7,4,7,6],[8,4,8,6]]}
["Government Actuary's Department"]
["Workbook:",{"$f":"IFERROR(IF(wb_title=\"[Enter workbook title here]\",MID(CELL(\"filename\",A1),FIND(\"[\",CELL(\"filename\",A1))+1,FIND(\"]\",CELL(\"filename\",A1))-FIND(\"[\",CELL(\"filename\",A1))-1),wb_title),MID(CELL(\"filename\",A1),FIND(\"[\",CELL(\"filename\",A1))+1,FIND(\"]\",CELL(\"filename\",A1))-FIND(\"[\",CELL(\"filename\",A1))-1))","v":"McCloud Interest calculator - with macro"}]
["Worksheet:",{"$f":"MID(CELL(\"filename\",A1),FIND(\"]\",CELL(\"filename\",A1))+1,255)","v":"Assumptions"}]
["Location:",{"$f":"CELL(\"filename\",B1)","v":"C:\\Users\\Rachel.Abbey\\Downloads\\[LGPS McCloud interest calculator - with macro v3.0.xlsm]Assumptions"}]
[]
[null,"Days for dividing annual rates",365.25]
[]
[null,"Judgments Act rate",0.08,null,"Note that if the 8% rate changes in the future, the Directions allow, in the interest of simplicity, "]
[null,"Source:","Judgments Act 1838 (legislation.gov.uk)",null,"for the calculation to use the median or average rate which applies over the relevant period (38(5) of the Directions)."]
[null,null,"Applying to England and Wales"]
[null,null,"Sheriff Courts (Scotland) Extracts Act 1892"]
[null,null,"Applying to Scotland"]
[null,null,"https://www.justice-ni.gov.uk/publications/court-rules-publications"]
[null,null,"Applying to Northern Ireland"]
[]
[null,"Calculation method by payment"]
[null,null,null,null,"The Local Government Pension Scheme (Amendment) (No. 3) Regulations 2023 (legislation.gov.uk)"]
[null,"Payment type","Method","Acceptable input type","Regulation reference for interest calculation dates","Lump sum date input requirement","Earliest payment date input requirement","Tax losses input requirement"]
[null,"Member Pension","Judgments","Continuous","14(6)(a)","N/A","The day after member’s final underpin date","N/A"]
[null,"Member commuted lump sum","Judgments","Lump sum","14(6)(b)","The earliest day from which the administering authority would have been able to make the payment for a lump sum paid under regulation 5(7)","N/A","N/A"]
[null,"Death grant, Triv comm lump sum, Transfer out (Club to non-remedy schemes / Non-Club)","Judgments","Lump sum","14(6)(c)","The day on which the original payment was made","N/A","N/A"]
[null,"Survivors pension","Judgments","Continuous","14(6)(d)","N/A","The day after member’s date of death","N/A"]
[null,"Pension credit member pension","Judgments","Continuous","14(6)(e)","N/A","The day on which pension credit pension was put into payment","N/A"]
[null,"Part 4 tax losses","HMRC repayment","Lump sum","15(5)(b)","N/A","N/A","The default date is the 31 January of the scheme year after that in which the part 4 tax loss relates, however this can be overridden by the date on which the member made the payment if required."]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[null,"HMRC repayment historical rates"]
[null,"https://www.gov.uk/government/publications/rates-and-allowances-hmrc-interest-rates-for-late-and-early-payments/rates-and-allowances-hmrc-interest-rates"]
[null,"Effective from","Annual rate","Daily rate"]
[null,"2009-09-29",5.0000000000000001E-3,{"$f":"C43/annual_divisor","v":1.3689253935660506E-5}]
[null,"2022-08-23",7.4999999999999997E-3,2.0533880903490758E-5]
[null,"2022-10-11",1.2500000000000001E-2,3.4223134839151266E-5]
[null,"2022-11-22",0.02,5.4757015742642024E-5]
[null,"2023-01-06",2.5000000000000001E-2,6.8446269678302531E-5]
[null,"2023-02-21",0.03,8.2135523613963032E-5]
[null,"2023-04-13",3.2500000000000001E-2,8.8980150581793296E-5]
[null,"2023-05-31",3.5000000000000003E-2,9.582477754962356E-5]
[null,"2023-07-11",0.04,1.0951403148528405E-4]
[null,"2023-08-22",4.2500000000000003E-2,1.1635865845311431E-4]
[null,"2024-08-20",0.04,1.0951403148528405E-4]
[null,"2024-11-26",3.7499999999999999E-2,1.026694045174538E-4]
[null,"2025-02-25",3.5000000000000003E-2,9.582477754962356E-5]
[null,"2025-05-28",3.2500000000000001E-2,8.8980150581793296E-5]
[null,"2025-08-27",0.03,8.2135523613963032E-5]
[null,"2026-01-09",2.75E-2,7.5290896646132782E-5]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]
[null,null,null,0]

{"sheet":"Calculations","index":4,"n_rows":524,"n_cols":27,"rows_kept":281,"cut":true,"hidden":true,"merged":[[22,23,22,26],[22,19,22,22]],"bounds":{"rows_first":125,"rows_last":31,"rows_between":125,"halvings":4}}
["Government Actuary's Department"]
["Workbook:",{"$f":"IFERROR(IF(wb_title=\"[Enter workbook title here]\",MID(CELL(\"filename\",A1),FIND(\"[\",CELL(\"filename\",A1))+1,FIND(\"]\",CELL(\"filename\",A1))-FIND(\"[\",CELL(\"filename\",A1))-1),wb_title),MID(CELL(\"filename\",A1),FIND(\"[\",CELL(\"filename\",A1))+1,FIND(\"]\",CELL(\"filename\",A1))-FIND(\"[\",CELL(\"filename\",A1))-1))","v":"McCloud Interest calculator - with macro"}]
["Worksheet:",{"$f":"MID(CELL(\"filename\",A1),FIND(\"]\",CELL(\"filename\",A1))+1,255)","v":"Calculations"}]
["Location:",{"$f":"CELL(\"filename\",B1)","v":"C:\\Users\\Rachel.Abbey\\Downloads\\[LGPS McCloud interest calculator - with macro v3.0.xlsm]Calculations"}]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
["Items pulled in from other sheets",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Judgments method calcs",null,null,null,"HMRC repayment calcs"]
["Member ID","Global ID","Scheme year","Effective date","Earliest payment date","Lump sum payment date","Payment amount","Payment type","Part 4 tax loss interest start date override","Lump sum flag","Date of first over/under payment","Total payment amount","Interest Method","Interest multiplier","Total interest due","HMRC repayment interest due","Judgments interest due","Start date of HMRC repayment interest","Start date of Judgments interest","Interest start date - Judgments","Period 1 interest multiplier - Judgments","Period 2 interest multiplier - Judgments","Total interest multiplier - Judgments","Interest start date - HMRC repayment","Period 1 interest multiplier - HMRC repayment","Period 2 interest multiplier - HMRC repayment","Total interest multiplier - HMRC repayment"]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A24=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B24=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A25=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B25=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A26=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B26=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A27=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B27=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A28=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B28=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A29=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B29=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A30=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B30=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A31=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B31=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A32=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B32=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A33=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B33=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A34=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B34=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A35=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B35=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A36=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B36=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A37=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B37=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A38=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B38=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A39=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B39=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A40=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B40=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A41=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B41=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A42=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B42=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A43=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B43=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A44=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B44=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A45=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B45=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A46=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B46=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A47=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B47=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A48=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B48=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A49=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B49=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A50=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B50=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A51=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B51=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A52=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B52=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A53=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B53=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A54=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B54=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A55=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B55=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A56=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B56=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A57=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B57=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A58=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B58=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A59=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B59=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A60=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B60=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A61=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B61=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A62=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B62=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A63=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B63=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A64=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B64=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A65=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B65=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A66=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B66=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A67=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B67=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A68=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B68=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A69=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B69=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A70=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B70=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A71=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B71=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A72=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B72=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A73=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B73=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A74=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B74=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A75=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B75=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A76=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B76=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A77=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B77=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A78=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B78=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A79=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B79=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A80=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B80=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A81=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B81=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A82=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B82=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A83=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B83=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A84=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B84=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A85=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B85=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A86=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B86=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A87=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B87=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A88=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B88=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A89=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B89=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A90=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B90=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A91=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B91=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A92=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B92=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A93=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B93=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A94=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B94=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A95=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B95=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A96=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B96=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A97=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B97=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A98=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B98=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A99=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B99=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A100=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B100=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A101=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B101=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A102=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B102=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A103=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B103=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A104=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B104=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A105=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B105=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A106=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B106=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A107=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B107=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A108=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B108=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A109=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B109=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A110=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B110=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A111=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B111=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A112=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B112=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A113=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B113=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A114=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B114=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A115=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B115=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A116=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B116=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A117=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B117=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A118=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B118=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A119=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B119=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A120=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B120=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A121=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B121=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A122=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B122=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A123=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B123=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A124=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B124=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A126=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B126=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A128=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B128=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A131=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B131=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A135=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B135=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A138=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B138=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A141=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B141=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A142=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B142=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A145=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B145=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A149=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B149=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A152=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B152=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A155=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B155=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A159=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B159=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A162=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B162=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A165=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B165=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A166=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B166=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A169=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B169=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A173=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B173=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A175=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B175=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A178=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B178=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A182=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B182=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A185=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B185=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A186=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B186=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A189=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B189=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A192=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B192=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A196=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B196=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A199=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B199=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A202=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B202=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A206=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B206=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A209=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B209=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A210=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B210=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A213=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B213=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A216=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B216=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A220=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B220=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A223=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B223=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A226=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B226=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A228=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B228=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A232=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B232=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A233=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B233=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A236=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B236=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A239=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B239=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A243=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B243=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A246=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B246=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A250=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B250=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A253=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B253=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A256=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B256=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A257=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B257=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A260=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B260=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A263=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B263=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A267=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B267=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A270=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B270=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A274=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B274=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A277=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B277=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A280=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B280=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A281=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B281=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A283=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B283=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A287=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B287=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A290=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B290=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A293=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B293=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A297=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B297=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A300=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B300=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A303=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B303=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A304=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B304=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A307=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B307=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A311=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B311=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A314=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B314=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A317=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B317=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A321=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B321=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A324=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B324=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A327=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B327=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A328=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B328=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A331=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B331=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A334=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B334=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A337=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B337=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A340=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B340=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A344=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B344=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A347=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B347=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A348=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B348=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A351=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B351=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A354=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B354=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A358=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B358=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A361=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B361=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A364=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B364=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A368=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B368=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A371=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B371=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A372=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B372=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A375=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B375=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A378=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B378=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A382=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B382=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A385=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B385=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A387=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B387=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A391=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B391=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A394=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B394=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A395=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B395=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A398=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B398=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A401=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B401=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A405=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B405=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A408=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B408=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A412=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B412=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A415=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B415=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A418=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B418=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A419=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B419=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A422=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B422=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A425=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B425=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A429=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B429=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A432=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B432=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A436=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B436=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A439=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B439=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A440=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B440=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A442=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B442=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A445=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B445=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A449=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B449=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A452=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B452=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A455=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B455=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A459=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B459=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A462=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B462=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A465=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B465=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A466=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B466=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A469=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B469=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A473=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B473=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A476=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B476=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A479=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B479=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A483=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B483=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A486=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B486=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A489=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B489=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A490=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B490=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A493=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B493=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A494=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B494=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A495=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B495=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A496=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B496=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A497=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B497=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A498=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B498=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A499=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B499=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A500=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B500=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A501=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B501=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A502=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B502=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A503=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B503=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A504=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B504=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A505=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B505=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A506=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B506=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A507=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B507=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A508=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B508=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A509=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B509=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A510=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B510=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A511=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B511=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A512=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B512=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A513=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B513=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A514=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B514=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A515=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B515=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A516=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B516=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A517=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B517=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A518=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B518=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A519=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B519=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A520=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B520=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A521=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B521=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A522=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B522=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A523=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Global ID]]=\"\", \"\", data_final_bulk[[#This Row],[Global ID]]), IF(B523=\"Global ID\", \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Earliest payment date]], Earliest_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Lump Sum payment date]], Lump_sum_payment_date_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment amount]], Payment_amount_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Payment type]], Payment_type_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Part 4 tax loss interest start date override]], Tax_loss_start_date_override_individual)","v":0},{"$f":"IF(ISBLANK(calculations_table[[#This Row],[Payment type]]), \"Payment type cannot be left blank\",\n    IF(ISBLANK(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0))), \"N/A\",\n        IF(INDEX(Method_lookup_table[Acceptable input type],\n                 MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Continuous\", \"N\",\n            IF(INDEX(Method_lookup_table[Acceptable input type],\n                     MATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0)) = \"Lump sum\", \"Y\", \"N/A\")\n        )\n    )\n)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",\ncalculations_table[[#This Row],[Lump sum payment date]],\n   IF(calculations_table[[#This Row],[Earliest payment date]]=0,\n      \"N/A\",\n      calculations_table[[#This Row],[Earliest payment date]]\n   )\n)","v":{"$error":"#N/A"}},{"$f":"SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], calculations_table[[#This Row],[Member ID]])","v":0},{"$f":"INDEX(Method_lookup_table[],\nMATCH(calculations_table[[#This Row],[Payment type]], Method_lookup_table[Payment type], 0),\nMATCH(IF(calculations_table[[#This Row],[Total payment amount]] >= 0,\"Method\",\"N/A\"),Method_lookup_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"INDEX(calculations_table[], ROW() - ROW(calculations_table[#Headers]), MATCH(\"Total interest multiplier - \" & calculations_table[[#This Row],[Interest Method]], calculations_table[#Headers], 0))","v":{"$error":"#N/A"}},{"$f":"calculations_table[[#This Row],[Payment amount]]*(calculations_table[[#This Row],[Interest multiplier]]-1)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\", calculations_table[[#This Row],[Total interest due]],)","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"HMRC repayment\",calculations_table[[#This Row],[Interest start date - HMRC repayment]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Interest Method]]=\"Judgments\",calculations_table[[#This Row],[Interest start date - Judgments]],\"N/A\")","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\",calculations_table[[#This Row],[Lump sum payment date]],ROUNDUP((calculations_table[[#This Row],[Effective date]] - calculations_table[[#This Row],[Date of first over/under payment]]) / 2 + calculations_table[[#This Row],[Date of first over/under payment]], 0))","v":{"$error":"#N/A"}},{"$f":"1+(calculations_table[[#This Row],[Effective date]]-calculations_table[[#This Row],[Interest start date - Judgments]])/annual_divisor* JudgmentsRate","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - Judgments]]*calculations_table[[#This Row],[Period 2 interest multiplier - Judgments]]","v":{"$error":"#N/A"}},{"$f":"IF(calculations_table[[#This Row],[Lump sum flag]]=\"Y\", IF(calculations_table[[#This Row],[Part 4 tax loss interest start date override]]<>0, calculations_table[[#This Row],[Part 4 tax loss interest start date override]], DATE(calculations_table[[#This Row],[Scheme year]]+2,1,31)),0)","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier total]]","v":{"$error":"#N/A"}},1,{"$f":"calculations_table[[#This Row],[Period 1 interest multiplier - HMRC repayment]]*calculations_table[[#This Row],[Period 2 interest multiplier - HMRC repayment]]","v":{"$error":"#N/A"}}]

{"sheet":"HMRC_repayment_calcs","index":5,"n_rows":524,"n_cols":86,"rows_kept":281,"cut":true,"hidden":true,"merged":[],"bounds":{"rows_first":125,"rows_last":31,"rows_between":125,"halvings":4}}
["Government Actuary's Department"]
["Workbook:",{"$f":"IFERROR(IF(wb_title=\"[Enter workbook title here]\",MID(CELL(\"filename\",A1),FIND(\"[\",CELL(\"filename\",A1))+1,FIND(\"]\",CELL(\"filename\",A1))-FIND(\"[\",CELL(\"filename\",A1))-1),wb_title),MID(CELL(\"filename\",A1),FIND(\"[\",CELL(\"filename\",A1))+1,FIND(\"]\",CELL(\"filename\",A1))-FIND(\"[\",CELL(\"filename\",A1))-1))","v":"McCloud Interest calculator - with macro"}]
["Worksheet:",{"$f":"MID(CELL(\"filename\",A1),FIND(\"]\",CELL(\"filename\",A1))+1,255)","v":"HMRC_repayment_calcs"}]
["Location:",{"$f":"CELL(\"filename\",B1)","v":"C:\\Users\\Rachel.Abbey\\Downloads\\[LGPS McCloud interest calculator - with macro v3.0.xlsm]HMRC_repayment_calcs"}]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[null,null,null,null,null,"Period 1 calculations",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Note different formula for final month"]
[null,null,null,null,null,"Number of days in each HMRC repayment period",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"Multiplier for each HMRC repayment period"]
[null,null,null,null,null,39,38,37,36,35,34,33,32,31,30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,15,14,13,12,11,10,9,8,7,6,5,4,3,2,1,0]
["Items pulled in from other sheets",null,null,null,null,{"$f":"IF(NOT(F22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-F22))","v":"-"},{"$f":"IF(NOT(G22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-G22))","v":"-"},{"$f":"IF(NOT(H22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-H22))","v":"-"},{"$f":"IF(NOT(I22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-I22))","v":"-"},{"$f":"IF(NOT(J22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-J22))","v":"-"},{"$f":"IF(NOT(K22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-K22))","v":"-"},{"$f":"IF(NOT(L22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-L22))","v":"-"},{"$f":"IF(NOT(M22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-M22))","v":"-"},{"$f":"IF(NOT(N22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-N22))","v":"-"},{"$f":"IF(NOT(O22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-O22))","v":"-"},{"$f":"IF(NOT(P22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-P22))","v":"-"},{"$f":"IF(NOT(Q22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-Q22))","v":"-"},{"$f":"IF(NOT(R22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-R22))","v":"-"},{"$f":"IF(NOT(S22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-S22))","v":"-"},{"$f":"IF(NOT(T22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-T22))","v":"-"},{"$f":"IF(NOT(U22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-U22))","v":"-"},{"$f":"IF(NOT(V22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-V22))","v":"-"},{"$f":"IF(NOT(W22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-W22))","v":"-"},{"$f":"IF(NOT(X22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-X22))","v":"-"},{"$f":"IF(NOT(Y22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-Y22))","v":"-"},{"$f":"IF(NOT(Z22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-Z22))","v":"-"},{"$f":"IF(NOT(AA22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AA22))","v":"-"},{"$f":"IF(NOT(AB22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AB22))","v":"-"},{"$f":"IF(NOT(AC22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AC22))","v":"-"},{"$f":"IF(NOT(AD22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AD22))","v":"2009-09-29"},{"$f":"IF(NOT(AE22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AE22))","v":"2022-08-23"},{"$f":"IF(NOT(AF22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AF22))","v":"2022-10-11"},{"$f":"IF(NOT(AG22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AG22))","v":"2022-11-22"},{"$f":"IF(NOT(AH22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AH22))","v":"2023-01-06"},{"$f":"IF(NOT(AI22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AI22))","v":"2023-02-21"},{"$f":"IF(NOT(AJ22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AJ22))","v":"2023-04-13"},{"$f":"IF(NOT(AK22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AK22))","v":"2023-05-31"},{"$f":"IF(NOT(AL22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AL22))","v":"2023-07-11"},{"$f":"IF(NOT(AM22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AM22))","v":"2023-08-22"},{"$f":"IF(NOT(AN22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AN22))","v":"2024-08-20"},{"$f":"IF(NOT(AO22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AO22))","v":"2024-11-26"},{"$f":"IF(NOT(AP22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AP22))","v":"2025-02-25"},{"$f":"IF(NOT(AQ22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AQ22))","v":"2025-05-28"},{"$f":"IF(NOT(AR22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AR22))","v":"2025-08-27"},{"$f":"IF(NOT(AS22<COUNT(HMRC_repayment_rates[Effective from])),\n\"-\",\nINDEX(HMRC_repayment_rates[Effective from],COUNT(HMRC_repayment_rates[Effective from])-AS22))","v":"2026-01-09"},{"$f":"F23","v":"-"},{"$f":"G23","v":"-"},"-","-","-","-","-","-","-","-","-","-","-","-","-","-","-","-","-","-","-","-","-","-","2009-09-29","2022-08-23","2022-10-11","2022-11-22","2023-01-06","2023-02-21","2023-04-13","2023-05-31","2023-07-11","2023-08-22","2024-08-20","2024-11-26","2025-02-25","2025-05-28","2025-08-27","2026-01-09"]
["Member ID","Scheme year","Effective date","Interest start date","Period 1 end date","HMRC repayment days Rate 1","HMRC repayment days Rate 2","HMRC repayment days Rate 3","HMRC repayment days Rate 4","HMRC repayment days Rate 5","HMRC repayment days Rate 6","HMRC repayment days Rate 7","HMRC repayment days Rate 8","HMRC repayment days Rate 9","HMRC repayment days Rate 10","HMRC repayment days Rate 11","HMRC repayment days Rate 12","HMRC repayment days Rate 13","HMRC repayment days Rate 14","HMRC repayment days Rate 15","HMRC repayment days Rate 16","HMRC repayment days Rate 17","HMRC repayment days Rate 18","HMRC repayment days Rate 19","HMRC repayment days Rate 20","HMRC repayment days Rate 21","HMRC repayment days Rate 22","HMRC repayment days Rate 23","HMRC repayment days Rate 24","HMRC repayment days Rate 25","HMRC repayment days Rate 26","HMRC repayment days Rate 27","HMRC repayment days Rate 28","HMRC repayment days Rate 29","HMRC repayment days Rate 30","HMRC repayment days Rate 31","HMRC repayment days Rate 32","HMRC repayment days Rate 33","HMRC repayment days Rate 34","HMRC repayment days Rate 35","HMRC repayment days Rate 36","HMRC repayment days Rate 37","HMRC repayment days Rate 38","HMRC repayment days Rate 39","HMRC repayment days Rate 40","HMRC repayment multiplier Rate 1","HMRC repayment multiplier Rate 2","HMRC repayment multiplier Rate 3","HMRC repayment multiplier Rate 4","HMRC repayment multiplier Rate 5","HMRC repayment multiplier Rate 6","HMRC repayment multiplier Rate 7","HMRC repayment multiplier Rate 8","HMRC repayment multiplier Rate 9","HMRC repayment multiplier Rate 10","HMRC repayment multiplier Rate 11","HMRC repayment multiplier Rate 12","HMRC repayment multiplier Rate 13","HMRC repayment multiplier Rate 14","HMRC repayment multiplier Rate 15","HMRC repayment multiplier Rate 16","HMRC repayment multiplier Rate 17","HMRC repayment multiplier Rate 18","HMRC repayment multiplier Rate 19","HMRC repayment multiplier Rate 20","HMRC repayment multiplier Rate 21","HMRC repayment multiplier Rate 22","HMRC repayment multiplier Rate 23","HMRC repayment multiplier Rate 24","HMRC repayment multiplier Rate 25","HMRC repayment multiplier Rate 26","HMRC repayment multiplier Rate 27","HMRC repayment multiplier Rate 28","HMRC repayment multiplier Rate 29","HMRC repayment multiplier Rate 30","HMRC repayment multiplier Rate 31","HMRC repayment multiplier Rate 32","HMRC repayment multiplier Rate 33","HMRC repayment multiplier Rate 34","HMRC repayment multiplier Rate 35","HMRC repayment multiplier Rate 36","HMRC repayment multiplier Rate 37","HMRC repayment multiplier Rate 38","HMRC repayment multiplier Rate 39","HMRC repayment multiplier Rate 40","HMRC repayment multiplier total"]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A24=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A25=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A26=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A27=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A28=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A29=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A30=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A31=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A32=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A33=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A34=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A35=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A36=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A37=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A38=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A39=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A40=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A41=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A42=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A43=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A44=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A45=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A46=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A47=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A48=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A49=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A50=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A51=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A52=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A53=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A54=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A55=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A56=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A57=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A58=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A59=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A60=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A61=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A62=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A63=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A64=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A65=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A66=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A67=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A68=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A69=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A70=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A71=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A72=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A73=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A74=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A75=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A76=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A77=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A78=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A79=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A80=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A81=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A82=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A83=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A84=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A85=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A86=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A87=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A88=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A89=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A90=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A91=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A92=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A93=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A94=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A95=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A96=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A97=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A98=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A99=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A100=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A101=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A102=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A103=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A104=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A105=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A106=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A107=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A108=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A109=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A110=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A111=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A112=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A113=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A114=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A115=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A116=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A117=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A118=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A119=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A120=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A121=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A122=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A123=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A124=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A126=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A128=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A131=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A135=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A138=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A141=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A142=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A145=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A149=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A152=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A155=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A159=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A162=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A165=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A166=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A169=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A173=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A175=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A178=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A182=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A185=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A186=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A189=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A192=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A196=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A199=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A202=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A206=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A209=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A210=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A213=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A216=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A220=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A223=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A226=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A228=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A232=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A233=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A236=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A239=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A243=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A246=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A250=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A253=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A256=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A257=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A260=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A263=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A267=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A270=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A274=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A277=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A280=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A281=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A283=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A287=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A290=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A293=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A297=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A300=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A303=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A304=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A307=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A311=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A314=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A317=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A321=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A324=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A327=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A328=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A331=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A334=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A337=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A340=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A344=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A347=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A348=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A351=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A354=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A358=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A361=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A364=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A368=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A371=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A372=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A375=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A378=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A382=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A385=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A387=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A391=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A394=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A395=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A398=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A401=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A405=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A408=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A412=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A415=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A418=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A419=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A422=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A425=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A429=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A432=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A436=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A439=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A440=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A442=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A445=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A449=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A452=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A455=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A459=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A462=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A465=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A466=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A469=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A473=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A476=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A479=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A483=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A486=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A489=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A490=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A493=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A494=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A495=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A496=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A497=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A498=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A499=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A500=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A501=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A502=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A503=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A504=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A505=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A506=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A507=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A508=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A509=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A510=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A511=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A512=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A513=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A514=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A515=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A516=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A517=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A518=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A519=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A520=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A521=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A522=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]
[{"$f":"IFERROR(IF(Calc_type=\"Bulk\", IF(data_final_bulk[[#This Row],[Member ID]]=\"\", \"\", data_final_bulk[[#This Row],[Member ID]]), IF(A523=\"Member ID\",  \"Individual\",\"\")), \"\")","v":""},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Tax year for part 4 tax losses ]], Tax_year_part_4_individual)","v":0},{"$f":"IF(Calc_type=\"Bulk\", data_final_bulk[[#This Row],[Effective date]], Effective_date_individual)","v":0},{"$f":"calculations_table[[#This Row],[Interest start date - HMRC repayment]]","v":{"$error":"#N/A"}},{"$f":"HMRC_repayment_calcs[[#This Row],[Effective date]]","v":0},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>G$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(F$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(F$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],G$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(F$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(F$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],G$23-F$23,\nG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>H$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(G$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(G$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],H$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(G$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(G$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],H$23-G$23,\nH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>I$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(H$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(H$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],I$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(H$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(H$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],I$23-H$23,\nI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>J$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(I$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(I$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],J$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(I$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(I$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],J$23-I$23,\nJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>K$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(J$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(J$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],K$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(J$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(J$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],K$23-J$23,\nK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>L$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(K$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(K$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],L$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(K$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(K$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],L$23-K$23,\nL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>M$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(L$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(L$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],M$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(L$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(L$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],M$23-L$23,\nM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>N$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(M$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(M$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],N$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(M$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(M$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],N$23-M$23,\nN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>O$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(N$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(N$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],O$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(N$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(N$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],O$23-N$23,\nO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>P$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(O$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(O$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],P$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(O$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(O$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],P$23-O$23,\nP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Q$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(P$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(P$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Q$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(P$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(P$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Q$23-P$23,\nQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>R$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Q$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Q$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],R$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Q$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Q$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],R$23-Q$23,\nR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>S$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(R$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(R$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],S$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(R$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(R$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],S$23-R$23,\nS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>T$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(S$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(S$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],T$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(S$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(S$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],T$23-S$23,\nT$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>U$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(T$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(T$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],U$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(T$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(T$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],U$23-T$23,\nU$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>V$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(U$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(U$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],V$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(U$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(U$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],V$23-U$23,\nV$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>W$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(V$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(V$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],W$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(V$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(V$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],W$23-V$23,\nW$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>X$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(W$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(W$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],X$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(W$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(W$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],X$23-W$23,\nX$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Y$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(X$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(X$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Y$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(X$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(X$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Y$23-X$23,\nY$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>Z$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Y$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Y$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],Z$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Y$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Y$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],Z$23-Y$23,\nZ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AA$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(Z$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(Z$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AA$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(Z$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(Z$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AA$23-Z$23,\nAA$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AB$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AA$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AA$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AB$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AA$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AA$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AB$23-AA$23,\nAB$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AC$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AB$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AB$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AC$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AB$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AB$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AC$23-AB$23,\nAC$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AD$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AC$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AC$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AD$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AC$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AC$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AD$23-AC$23,\nAD$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AE$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AD$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AD$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AE$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AD$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AD$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AE$23-AD$23,\nAE$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AF$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AE$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AE$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AF$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AE$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AE$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AF$23-AE$23,\nAF$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AG$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AF$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AF$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AG$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AF$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AF$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AG$23-AF$23,\nAG$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AH$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AG$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AG$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AH$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AG$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AG$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AH$23-AG$23,\nAH$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AI$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AH$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AH$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AI$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AH$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AH$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AI$23-AH$23,\nAI$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AJ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AI$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AI$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AJ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AI$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AI$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AJ$23-AI$23,\nAJ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AK$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AJ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AJ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AK$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AJ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AJ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AK$23-AJ$23,\nAK$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AL$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AK$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AK$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AL$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AK$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AK$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AL$23-AK$23,\nAL$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AM$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AL$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AL$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AM$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AL$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AL$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AM$23-AL$23,\nAM$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AN$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AM$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AM$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AN$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AM$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AM$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AN$23-AM$23,\nAN$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AO$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AN$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AN$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AO$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AN$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AN$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AO$23-AN$23,\nAO$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AP$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AO$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AO$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AP$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AO$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AO$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AP$23-AO$23,\nAP$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AQ$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AP$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AP$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AQ$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AP$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AP$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AQ$23-AP$23,\nAQ$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AR$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AQ$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AQ$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AR$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AQ$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AQ$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AR$23-AQ$23,\nAR$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"IF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>AS$23,0,\nIF(HMRC_repayment_calcs[[#This Row],[Interest start date]]>HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AR$23>=HMRC_repayment_calcs[[#This Row],[Period 1 end date]],0,\nIF(AND(AR$23<HMRC_repayment_calcs[[#This Row],[Period 1 end date]],AS$23>HMRC_repayment_calcs[[#This Row],[Period 1 end date]]),HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-MAX(AR$23,HMRC_repayment_calcs[[#This Row],[Interest start date]]),\nIF(AR$23>HMRC_repayment_calcs[[#This Row],[Interest start date]],AS$23-AR$23,\nAS$23-HMRC_repayment_calcs[[#This Row],[Interest start date]])))))","v":{"$error":"#N/A"}},{"$f":"MAX(HMRC_repayment_calcs[[#This Row],[Period 1 end date]]-HMRC_repayment_calcs[[#This Row],[Interest start date]], 0)-SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]:[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(AT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 1]])","v":0},{"$f":"IF(AU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 2]])","v":0},{"$f":"IF(AV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 3]])","v":0},{"$f":"IF(AW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 4]])","v":0},{"$f":"IF(AX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 5]])","v":0},{"$f":"IF(AY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 6]])","v":0},{"$f":"IF(AZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(AZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 7]])","v":0},{"$f":"IF(BA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 8]])","v":0},{"$f":"IF(BB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 9]])","v":0},{"$f":"IF(BC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 10]])","v":0},{"$f":"IF(BD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 11]])","v":0},{"$f":"IF(BE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 12]])","v":0},{"$f":"IF(BF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 13]])","v":0},{"$f":"IF(BG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 14]])","v":0},{"$f":"IF(BH$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BH$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 15]])","v":0},{"$f":"IF(BI$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BI$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 16]])","v":0},{"$f":"IF(BJ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BJ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 17]])","v":0},{"$f":"IF(BK$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BK$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 18]])","v":0},{"$f":"IF(BL$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BL$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 19]])","v":0},{"$f":"IF(BM$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BM$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 20]])","v":0},{"$f":"IF(BN$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BN$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 21]])","v":0},{"$f":"IF(BO$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BO$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 22]])","v":0},{"$f":"IF(BP$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BP$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 23]])","v":0},{"$f":"IF(BQ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BQ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 24]])","v":0},{"$f":"IF(BR$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BR$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 25]])","v":{"$error":"#N/A"}},{"$f":"IF(BS$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BS$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 26]])","v":{"$error":"#N/A"}},{"$f":"IF(BT$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BT$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 27]])","v":{"$error":"#N/A"}},{"$f":"IF(BU$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BU$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 28]])","v":{"$error":"#N/A"}},{"$f":"IF(BV$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BV$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 29]])","v":{"$error":"#N/A"}},{"$f":"IF(BW$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BW$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 30]])","v":{"$error":"#N/A"}},{"$f":"IF(BX$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BX$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 31]])","v":{"$error":"#N/A"}},{"$f":"IF(BY$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BY$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 32]])","v":{"$error":"#N/A"}},{"$f":"IF(BZ$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(BZ$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 33]])","v":{"$error":"#N/A"}},{"$f":"IF(CA$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CA$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 34]])","v":{"$error":"#N/A"}},{"$f":"IF(CB$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CB$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 35]])","v":{"$error":"#N/A"}},{"$f":"IF(CC$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CC$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 36]])","v":{"$error":"#N/A"}},{"$f":"IF(CD$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CD$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 37]])","v":{"$error":"#N/A"}},{"$f":"IF(CE$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CE$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 38]])","v":{"$error":"#N/A"}},{"$f":"IF(CF$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CF$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 39]])","v":{"$error":"#N/A"}},{"$f":"IF(CG$23=\"-\",\n0,\nINDEX(HMRC_repayment_rates[[Daily rate]:[Daily rate]],MATCH(CG$23,HMRC_repayment_rates[[Effective from]:[Effective from]],0))*HMRC_repayment_calcs[[#This Row],[HMRC repayment days Rate 40]])","v":{"$error":"#N/A"}},{"$f":"1+SUM(HMRC_repayment_calcs[[#This Row],[HMRC repayment multiplier Rate 1]:[HMRC repayment multiplier Rate 40]])","v":{"$error":"#N/A"}}]

{"sheet":"Outputs","index":6,"n_rows":522,"n_cols":14,"rows_kept":281,"cut":true,"hidden":false,"merged":[[20,3,20,8],[7,3,10,6],[20,9,20,13]],"bounds":{"rows_first":125,"rows_last":31,"rows_between":125,"halvings":4}}
["Government Actuary's Department"]
["Workbook:",{"$f":"IFERROR(IF(wb_title=\"[Enter workbook title here]\",MID(CELL(\"filename\",A1),FIND(\"[\",CELL(\"filename\",A1))+1,FIND(\"]\",CELL(\"filename\",A1))-FIND(\"[\",CELL(\"filename\",A1))-1),wb_title),MID(CELL(\"filename\",A1),FIND(\"[\",CELL(\"filename\",A1))+1,FIND(\"]\",CELL(\"filename\",A1))-FIND(\"[\",CELL(\"filename\",A1))-1))","v":"McCloud Interest calculator - with macro"}]
["Worksheet:",{"$f":"MID(CELL(\"filename\",A1),FIND(\"]\",CELL(\"filename\",A1))+1,255)","v":"Outputs"}]
["Location:",{"$f":"CELL(\"filename\",C1)","v":"C:\\Users\\Rachel.Abbey\\Downloads\\[LGPS McCloud interest calculator - with macro v3.0.xlsm]Outputs"}]
[]
[]
[]
[null,null,null,"The total interest due amount should be added to the total payment amount shown in column H."]
[]
[]
[]
[]
[]
[]
[]
[]
[]
[null,null,null,{"$f":"IF(AND(Calc_type=\"Bulk\",COUNTA(data_final_bulk[Member ID])>5000),\"Input data contains more than 5000 rows, rows beyond 5000 will not be included in the calculations. Please split the data or contact GAD for an extended version of the tool.\",\"\")","v":""}]
[]
[]
[null,null,null,"Summary of inputs",null,null,null,null,null,"Outputs"]
["Member IDs",null,null,"Member ID","Global ID","Effective date","Payment type","Total payment amount (Excluding interest due)","Input error count","Judgments interest","Judgments interest start date","HMRC repayment interest","HMRC repayment interest start date","Total Interest due"]
[null,null,null,{"$f":"IF(A23=\"\", \"\", A23)","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,{"$f":"IF(A87=\"\", \"\", A87)","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]
[null,null,null,"",{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", Calc_type<>\"Bulk\"), \"\",\nIF(ISBLANK(INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))), \"\", INDEX(data_final_bulk[Global ID], MATCH(output_table[[#This Row],[Member ID]], data_final_bulk[Member ID], 0))))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Effective date], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", INDEX(calculations_table[Payment type], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\", SUMIFS(calculations_table[Payment amount], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(Calc_type=\"Bulk\", SUMIFS(data_final_bulk[Error count], data_final_bulk[Member ID], output_table[[#This Row],[Member ID]]), Error_count))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[Judgments interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of Judgments interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", SUMIFS(calculations_table[HMRC repayment interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]]))","v":""},{"$f":"IF(OR(output_table[[#This Row],[Member ID]]=\"\", output_table[[#This Row],[Input error count]]>0), \"\", INDEX(calculations_table[Start date of HMRC repayment interest], MATCH(output_table[[#This Row],[Member ID]], calculations_table[Member ID], 0)))","v":""},{"$f":"IF(output_table[[#This Row],[Member ID]]=\"\", \"\",\nIF(output_table[[#This Row],[Input error count]]>0, \"Error. Please check inputs.\",\nSUMIFS(calculations_table[Total interest due], calculations_table[Member ID], output_table[[#This Row],[Member ID]])))","v":""}]